[Header]
Comment = IzakOld_sample5-cylinder_11mmDiam_Line1-Line3_HOOP_RADIAL_AXIAL-P40-P50-P60_P70-P80-P90_2x3x29pts; Sept2024; steel, Ferrite+Austenite; Line 1: HOOP 29pts; RADIAL 29pts; AXIAL 29pts; Line 3: HOOP 29pts; RADIAL 29pts; AXIAL 29pts; Slit: approx 2.5x4 mm (w x h input), Wavelength (A): 2.13, slit-GV distance 7.5cm; TwoTheta absolutely aproximatelly 59.5deg, IzakOld_sample5-cylinder_11mmDiam_Line1-Line3_HOOP_RADIAL_AXIAL-P40-P50-P60_P70-P80-P90_2x3x29pts_146, 09-9-2024 02:40:36, Slit: approx 3.0 x 4 mm(w x h input), Wavelength (A): 2.13
[/Header]
[DataSet]
DataSetNumber = 1
[Counter]
Time1 = 1400
[/Counter]
[Axis]
TTHS = 59.4852823918413
XT = -7
YT = 0
ZT = 0
DRD = 1000
[/Axis]
[Image]
XSize = 350
YSize = 350
%Counts
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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